home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
TEMP
/
GNU
/
bison
/
GrammarFil
< prev
next >
Wrap
Text File
|
1995-06-28
|
857b
|
22 lines
Grammar File
Previous: <Examples=>Examples> * Next: <Interface=>Interface> * Up: <Top=>!Root>
#Wrap on
{fH2}Bison Grammar Files{f}
Bison takes as input a context-free grammar specification and produces a
C-language function that recognizes correct instances of the grammar.
The Bison grammar input file conventionally has a name ending in {fEmphasis}.y{f}.
#Wrap off
<Grammar Outline=>GrammarOut>: Overall layout of the grammar file.
<Symbols=>Symbols>: Terminal and nonterminal symbols.
<Rules=>Rules>: How to write grammar rules.
<Recursion=>Recursion>: Writing recursive rules.
<Semantics=>Semantics>: Semantic values and actions.
<Declarations=>Declaratio>: All kinds of Bison declarations are described here.
<Multiple Parsers=>MultiplePa>: Putting more than one Bison parser in one program.
#Wrap on